export const socioeconomicFields = {
  // 基本信息
  name: { show: true, label: '姓名', edit: false, type: 'text', required: true },
  idNumber: { show: true, label: '证件号码', edit: false, type: 'text' },
  recordid: { show: false, label: '健康档案id', edit: false, type: 'text' },
  
  // 居住信息
  liveAddr: { show: true, label: '常住地址', edit: true, type: 'textarea' },
  resideAddr: { show: true, label: '户籍地址', edit: true, type: 'textarea' },
  resideType: { show: true, label: '居住地类型', edit: true, type: 'picker', dictCode: 'live_type' },
  houseType: { show: true, label: '住房性质', edit: true, type: 'text' },
  houseArea: { show: true, label: '住房面积(平方米)', edit: true, type: 'number' },
  liveAlone: { show: true, label: '独居与否', edit: true, type: 'picker', dictCode: 'yes_no' },
  
  // 居住环境
  liveEnvir: { show: true, label: '服务对象住所环境', edit: true, type: 'textarea' },
  liveHyg: { show: true, label: '服务对象住所生活卫生', edit: true, type: 'textarea' },
  liveWc: { show: true, label: '服务对象居住环境-卫生间', edit: true, type: 'textarea' },
  liveHeat: { show: true, label: '服务对象居住环境-保暖/降温设施', edit: true, type: 'textarea' },
  liveSafe: { show: true, label: '服务对象居住环境-安全保障', edit: true, type: 'textarea' },
  liveEmer: { show: true, label: '服务对象居住环境-应急物品', edit: true, type: 'textarea' },
  liveEffects: { show: true, label: '个人物品', edit: true, type: 'textarea' },
  liveStore: { show: true, label: '物品保管', edit: true, type: 'textarea' },
  liveDsc: { show: true, label: '服务对象居住情况', edit: true, type: 'textarea' },
  
  // 基础设施
  ifTapwater: { show: true, label: '是否有自来水', edit: true, type: 'picker', dictCode: 'yes_no' },
  ifToilet: { show: true, label: '是否有独立卫生间', edit: true, type: 'picker', dictCode: 'yes_no' },
  ifHos: { show: true, label: '周边环境是否方便就医', edit: true, type: 'picker', dictCode: 'yes_no' },
  ifTrans: { show: true, label: '周边环境是否交通便利性', edit: true, type: 'picker', dictCode: 'yes_no' },
  ifPollute: { show: true, label: '周边环境是否有污染源', edit: true, type: 'picker', dictCode: 'yes_no' },
  
  // 工作信息
  workUnit: { show: true, label: '工作单位', edit: true, type: 'text' },
  workType: { show: true, label: '职业类型', edit: true, type: 'picker', dictCode: 'job_type' },
  workPress: { show: true, label: '工作压力', edit: true, type: 'picker', dictCode: 'priority' },
  workHarm: { show: true, label: '是否接触职业危害', edit: true, type: 'picker', dictCode: 'yes_no' },
  ifTrian: { show: true, label: '是否接受过职业技能及相关领域培训', edit: true, type: 'picker', dictCode: 'yes_no' },
  
  // 收入信息
  liveIncome: { show: true, label: '服务对象月均收入', edit: true, type: 'text' },
  incomeLevel: { show: true, label: '收入水平(个人或家庭年收入范围)元', edit: true, type: 'picker', dictCode: 'fee_type' },
  incomeSour: { show: true, label: '收入来源', edit: true, type: 'text' },
  econoSource: { show: true, label: '服务对象主要经济来源', edit: true, type: 'text' },
  econPress: { show: true, label: '经济压力', edit: true, type: 'picker', dictCode: 'priority' },
  
  // 医疗保障
  mediType: { show: true, label: '医保类型', edit: true, type: 'picker', dictCode: 'pay_type' },
  mediDebt: { show: true, label: '是否有医疗债务', edit: true, type: 'picker', dictCode: 'yes_no' },
  ownRatio: { show: true, label: '医疗费用支付自费比例%', edit: true, type: 'number' },
  
  // 社会保障
  socialInsu: { show: true, label: '社会保险(可多选)', edit: true, type: 'checkbox', options: ['养老保险', '医疗保险', '失业保险', '工伤保险', '生育保险'] },
  socialWelfare: { show: true, label: '社会福利参与(可多选)', edit: true, type: 'checkbox', options: ['低保', '特困供养', '残疾人补贴', '高龄补贴', '其他'] },
  ifTarget: { show: true, label: '是否纳入精准扶贫对象', edit: true, type: 'picker', dictCode: 'yes_no' },
  
  // 生活习惯
  smokeDsc: { show: true, label: '吸烟行为', edit: true, type: 'textarea' },
  brinkDsc: { show: true, label: '饮酒行为', edit: true, type: 'textarea' },
  eatDsc: { show: true, label: '饮食习惯', edit: true, type: 'textarea' },
  motionFreq: { show: true, label: '运动频率', edit: true, type: 'picker', dictCode: 'urgent_level' },
  
  // 社区参与
  commActi: { show: true, label: '社区活动参与度', edit: true, type: 'picker', dictCode: 'urgent_level' },
  familySupport: { show: true, label: '家庭支持强度', edit: true, type: 'picker', dictCode: 'urgent_level' },
  
  // 流动人口信息
  flowDate: { show: true, label: '移民/流动人口信息-流动时间', edit: true, type: 'date' },
  flowReason: { show: true, label: '移民/流动人口信息-流动原因', edit: true, type: 'textarea' },
  
  // 重大事件
  majorEvents: { show: true, label: '重大生活事件记录', edit: true, type: 'textarea' },
  
  // 备注
  note: { show: true, label: '备注', edit: true, type: 'textarea' },
  
  valid: { show: false, label: '有效标志', edit: false, type: 'text' },
}
